package com.xhu.rjsx2.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * user表主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String password;

    /**
     * 最后登录时间
     */
    private Date lastLoginTime;

    /**
     * 
     */
    private String phone;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String role;

    /**
     * 
     */
    private String header;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}